
#include "ALGraph.h"

int main() {
    char arr [][3] = {"013","024",
                      "135","146",
                      "238","257",
                      "343",
                      "469","474",
                      "576",
                      "692",
                      "785",
                      "893"};
    int sz = sizeof(arr)/sizeof(arr[0]);

    GraphAdjList * graph = AdInit("0123456789",arr,sz);

    GraphAdPrint(graph);

//    DFSTraverse(graph);
//    BFSTraverse(graph);
//    TopologicalSort(graph);
    CriticalPath(graph);

    return 0;
}
